home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1999 May
/
SGI IRIX 6.5 Applications 1999 May.iso
/
dist
/
arraysvcs.idb
/
etc
/
init.d
/
array.z
/
array
Wrap
Text File
|
1998-10-27
|
623b
|
42 lines
#! /sbin/sh
# Array services control
# "$Revision: 1.2 $"
if /etc/chkconfig array; then :
else
exit
fi
if /etc/chkconfig verbose; then
ECHO=echo
else
ECHO=:
fi
case $1 in
'start')
$ECHO "Array services:\c"
/usr/etc/arrayd `cat /etc/config/arrayd.options 2> /dev/null`
$ECHO " arrayd\c"
# Anything else you might think of goes here...
$ECHO "."
;;
'stop')
/sbin/killall -TERM arrayd
;;
'restart')
$ECHO "Restarting array services..."
/sbin/killall -TERM arrayd
/usr/etc/arrayd `cat /etc/config/arrayd.options 2> /dev/null`
;;
*)
echo "usage: /etc/init.d/array {start|stop|restart}"
;;
esac